Morphology needs positive radii even after the transformation
authorFederico Mena Quintero <federico@gnome.org>
Sat, 29 Dec 2018 18:32:08 +0000 (12:32 -0600)
committerBoyuan Yang <byang@debian.org>
Thu, 25 Apr 2019 19:55:18 +0000 (20:55 +0100)
commit079c13277de903f6eb5c722b2eef6ef44fcdff10
treebf6de188193e6db688f14d9346bdf586fd6073b9
parent6be086cc705293b1f41b4e9e72d68d4cb975e0f5
Morphology needs positive radii even after the transformation

This is the same pattern as in gaussian_blur.rs; the paffine
transformation can leave us with negative radii, so take their
absolute value after the transformation.

This fixes assertion error (crashing) when nagative r takes place.

Forwarded: https://gitlab.gnome.org/GNOME/librsvg/issues/395
Applied-Upstream: https://gitlab.gnome.org/GNOME/librsvg/commit/4ef7f198fceb8fb4a544f4768174af5b11fc9bcc
Bug-Debian: https://bugs.debian.org/927886
Signed-off-by: Boyuan Yang <byang@debian.org>
Gbp-Pq: Name keep-positive-radii.patch
rsvg_internals/src/filters/morphology.rs